package command;

/**
 * @author zhangxi
 * @date 2021/10/28
 */
public class Invoker {

    private Command command;


    public Command getCommand() {
        return command;
    }

    public void setCommand(Command command) {
        this.command = command;
    }

    public void invoke(){
        command.excute();
    }
}
